import Vue from "vue";
import Vuex from "vuex";
// 1.引入user的js
import user from '../store/user.js'
Vue.use(Vuex)
const actions={};
const mutations={};
const state ={};
const getters={};
export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
// 2. 放到模块化里面去
    modules:{
        user,
    }
})